/*
 * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package goodman.com.sun.corba.se.impl.orb;

import com.sun.corba.se.impl.orb.NormalParserAction;
import com.sun.corba.se.impl.orb.ParserAction;
import com.sun.corba.se.impl.orb.PrefixParserAction;
import com.sun.corba.se.spi.orb.Operation ;

public class ParserActionFactory{
    private ParserActionFactory() {}

    public static com.sun.corba.se.impl.orb.ParserAction makeNormalAction(String propertyName,
                                                                          Operation operation, String fieldName )
    {
        return new NormalParserAction( propertyName, operation, fieldName ) ;
    }

    public static ParserAction makePrefixAction(String propertyName,
                                                Operation operation, String fieldName, Class componentType )
    {
        return new PrefixParserAction( propertyName, operation, fieldName, componentType ) ;
    }
}
